package com.e3.purchase.po;

import java.util.List;

import com.e3.bill.client.BillFormPanel;
import com.e3.purchase.model.POMainModel;
import com.extjs.gxt.ui.client.widget.form.Field;

public class POFormPanel extends BillFormPanel<POMainModel> {

	@Override
	protected List<Field<?>> getFormFields() {
		String[] names = {POMainModel.ID,POMainModel.BILLNO,POMainModel.PURCHASE_CORP
				,POMainModel.PURCHASE_DEPT,POMainModel.PURCHASER
				,POMainModel.RECEIVER_CORP,POMainModel.SUPPLIER
				,POMainModel.INVOICE_CLIENT,POMainModel.PAYMENT_PROTOCAL
				,POMainModel.STATUS,POMainModel.REMARK};
		return POHelper.INSTANCE.getFormFields(names);
	}

}
